package com.example.dao.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.common.b_pojo.BMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 111
* @description 针对表【b_menu】的数据库操作Mapper
* @createDate 2024-08-11 12:29:35
* @Entity com.example.common.b_pojo.BMenu
*/
@Mapper
public interface BMenuMapper extends BaseMapper<BMenu> {

    Page<BMenu> getAllmenu(Page<BMenu> page, LambdaQueryWrapper lambdaQueryWrapper);

    int startandstopmenu(Long id);

    int deletemenuById(Long id);
}
